#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@desc: .

@Project ：kuberCloudTest 
@File ：basic.py
@Author ：admin
@Date ：2024/3/20 16:32 
"""
from kuberCloudTest.api import KuberCloudHttpRequest
from kuberCloudTest.exception import KuberCloudException


class basicUtils(object):
    def __init__(self, accessToken):
        self.accessToken = accessToken

        if not self.accessToken:
            raise KuberCloudException('params error', 'accessToken is none')

        self.cloud_http_request = KuberCloudHttpRequest(accessToken=self.accessToken)
